fromFile

fun TextureImageSourceBuilder.fromFile(file: File): TextureImageSourceBuilder

Will build a texture source from a given file.